﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMaster.Master" AutoEventWireup="true" CodeBehind="MonthlyPlannedQtyList.aspx.cs" Inherits="OAS.SecurityUserList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <div class="panel panel-primary" style="margin:10px">
        <asp:Label runat="server" ID="TitleLabel" Text="查询列表" Font-Size="X-Large" Style="margin-left:10px;margin-top:30px">
        </asp:Label>
        <table class="table" style="margin:10px">
            <tr>
                <th>年份</th>
                <td>
                    <asp:DropDownList  runat="server" ID="YearDropDownList" Width="260" CssClass="form-control"/>
                </td>
            </tr>
            <tr>
                <th>月份</th>
                <td>
                    <asp:DropDownList runat="server" ID="MonthDropDownList" Width="260" CssClass="from-control">
                                        <%--  查询条件部分--%>
                        <asp:ListItem Text="一月" Value="1"></asp:ListItem>
                         <asp:ListItem Text="二月" Value="2"></asp:ListItem>
                         <asp:ListItem Text="三月" Value="3"></asp:ListItem>
                         <asp:ListItem Text="四月" Value="4"></asp:ListItem>
                         <asp:ListItem Text="五月" Value="5"></asp:ListItem>
                         <asp:ListItem Text="六月" Value="6"></asp:ListItem>
                         <asp:ListItem Text="七月" Value="7"></asp:ListItem>
                         <asp:ListItem Text="八月" Value="8"></asp:ListItem>
                         <asp:ListItem Text="九月" Value="9"></asp:ListItem>
                         <asp:ListItem Text="十月" Value="10"></asp:ListItem>
                         <asp:ListItem Text="十一月" Value="11"></asp:ListItem>
                         <asp:ListItem Text="十二月" Value="12"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button runat="server" Text="查询" ID="SearchButton" OnClick="SearchButton_Click" CssClass="btn btn-success green"/>
                </td>
            </tr>
        </table>
        <div class='panel-heading green' style="font-size:14px">
               <asp:Label ID="GridViewHeaderTextLabel" runat="server" Text="月计划量信息"></asp:Label>
        </div>
        <asp:UpdatePanel runat="server" ID="MonthlyPlannedQtyUpdatePanel">
                <ContentTemplate>
                    <asp:GridView CssClass="table table-bordered table-hover" runat="server" ID="MonthlyPlannedQtyGridView" AutoGenerateColumns="false" OnRowCommand="MonthlyPlannedQtyGridView_RowCommand">
                        <Columns>
                            <asp:BoundField DataField="MonthlyPlannedQtyID" HeaderText="月计划ID" />
                            <asp:BoundField DataField="Factory" HeaderText="月计划工厂" />
                            <asp:BoundField DataField="ProcessType"  HeaderText="外发类型" />
                            <asp:BoundField DataField="YYYYMM" HeaderText="日期" />
                            <asp:BoundField DataField="Quantity" HeaderText="数量" />                      
                            <asp:BoundField DataField="QtyUnit" HeaderText="数量单位" /> 
                            <asp:BoundField DataField="CreatedBy" HeaderText="创建人" />                                                 
                            <asp:BoundField DataField="CreatedDate" HeaderText="创建日期" />                      
                        </Columns>
                    </asp:GridView>                    

                </ContentTemplate>
            </asp:UpdatePanel>
    </div>
</asp:Content>
